public String nonAsiic2Unicode(String str) {
    String result = "";
    for (int i = 0; i < str.length; i++) {
        int chr1 = str.charAt(i);
        if (chr1 > 127) {
            result += "\\u" + Integer.toHexString(chr1);
        } else {
            result += str.charAt(i);
        }
    }
    return result;
}